package org.xiancheng;

public class TestDemo1 {

	public static void main(String[] args) {
		Demo1 do1 = new Demo1();
		do1.setName("线程1");//给线程设置名字
		Demo1 do2 = new Demo1();
		do2.setName("线程2");
		do1.start();//开始线程
		do2.start();
	}

}
